package com.chenjie.crud.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chenjie.crud.dto.request.query.StationIdListReq;
import com.chenjie.crud.dto.request.query.StationIdReq;
import com.chenjie.crud.dto.request.query.StationReq;
import com.chenjie.crud.dto.request.query.StationUpdateReq;
import com.chenjie.crud.eo.Station;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author chenjie
* @description 针对表【station(岗位管理表)】的数据库操作Service
* @createDate 2022-12-10 14:22:27
*/
public interface StationService extends IService<Station> {

    Long createStation(StationReq stationReq);

    Page<Station> selectStationByPage(StationReq stationReq);

    Station selectStation(Long id);

    Boolean updateStation(StationUpdateReq stationUpdateReq);

    Boolean deleteStation(StationIdListReq stationIdListReq);
}
